package com.dk.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wbh
 * @since 2023-03-17
 * 物料bom表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pd_material_bom")
public class MaterialBom implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物料表id
     */
    @TableField("material_id")
    private String materialId;

    /**
     * 组成bom的id,就是物料表id
     */
    @TableField("bom_id")
    private String bomId;


}
